package cn.stylefeng.guns.animals.modular.system.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-08-26
 */
@TableName("sys_product")
@ToString
public class Product extends Model<Product> {

    private static final long serialVersionUID = 1L;
    //生成注解由tablefilid改为Tableid
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 序号
     */
    private String xh;
    /**
     * 订货日期
     */
    private String dhrq;
    /**
     * 型号
     */
    private String xhao;
    /**
     * 商品名称
     */
    private String spmc;
    /**
     * 进价
     */
    private BigDecimal jj;
    /**
     * 数量
     */
    private String sl;
    /**
     * 金额
     */
    private BigDecimal je;
    /**
     * 总金额
     */
    private BigDecimal zje;
    /**
     * 定金
     */
    private String dj;
    /**
     * 预付款
     */
    private BigDecimal yfk;
    /**
     * 未付款
     */
    private BigDecimal wfk;
    /**
     * 供货商名称
     */
    private String ghsmc;
    /**
     * 联系人
     */
    private String lxr;
    /**
     * 电话
     */
    private String dh;
    /**
     * 传真
     */
    private String cz;
    /**
     * 开户行
     */
    private String khh;
    /**
     * 到货情况
     */
    private String dhqk;
    /**
     * 未到货情况
     */
    private String wdhqk;
    /**
     * 经手人1
     */
    private String jsr1;
    /**
     * 到票情况
     */
    private String dpqk;
    /**
     * 未到票情况
     */
    private String wdpqk;
    /**
     * 经手人2
     */
    private String jsr2;
    /**
     * 采购用户名称
     */
    private String cgyhmc;
    /**
     * 交付价格
     */
    private String jg;
    /**
     * 订单号
     */
    private String ddh;
    /**
     * 订货时间
     */
    private String dhsj;
    /**
     * 备注
     */
    private String bz;
    /**
     * 订货方式
     */
    private String dhfs;
    /**
     * 付款方式
     */
    private String fkfs;
    /**
     * 质量承诺
     */
    private String zlcn;
    private String yfys;
    /**
     * 入库单位
     */
    private String rkdd;
    private String thdh;
    /**
     * 业务处理
     */
    private String ywcl;
    private String wtcl;
    /**
     * 发票情况
     */
    private String fpqk;
    /**
     * 货期1
     */
    private String bl1;
    /**
     * 品牌1
     */
    private String bl2;
    /**
     * 货期2
     */
    private String bl3;
    /**
     * 品牌2
     */
    private String bl4;


    @TableField(exist = false)
    private  String dhrqdydy;

    public String getDhrqxydy() {
        return dhrqxydy;
    }

    public void setDhrqxydy(String dhrqxydy) {
        this.dhrqxydy = dhrqxydy;
    }

    @TableField(exist = false)
    private  String dhrqxydy;
    public String getDhrqdydy() {
        return dhrqdydy;
    }

    public void setDhrqdydy(String dhrqdydy) {
        this.dhrqdydy = dhrqdydy;
    }




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getDhrq() {
        return dhrq;
    }

    public void setDhrq(String dhrq) {
        this.dhrq = dhrq;
    }

    public String getXhao() {
        return xhao;
    }

    public void setXhao(String xhao) {
        this.xhao = xhao;
    }

    public String getSpmc() {
        return spmc;
    }

    public void setSpmc(String spmc) {
        this.spmc = spmc;
    }

    public BigDecimal getJj() {
        return jj;
    }

    public void setJj(BigDecimal jj) {
        this.jj = jj;
    }

    public String getSl() {
        return sl;
    }

    public void setSl(String sl) {
        this.sl = sl;
    }

    public BigDecimal getJe() {
        return je;
    }

    public void setJe(BigDecimal je) {
        this.je = je;
    }

    public BigDecimal getZje() {
        return zje;
    }

    public void setZje(BigDecimal zje) {
        this.zje = zje;
    }

    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public BigDecimal getYfk() {
        return yfk;
    }

    public void setYfk(BigDecimal yfk) {
        this.yfk = yfk;
    }

    public BigDecimal getWfk() {
        return wfk;
    }

    public void setWfk(BigDecimal wfk) {
        this.wfk = wfk;
    }

    public String getGhsmc() {
        return ghsmc;
    }

    public void setGhsmc(String ghsmc) {
        this.ghsmc = ghsmc;
    }

    public String getLxr() {
        return lxr;
    }

    public void setLxr(String lxr) {
        this.lxr = lxr;
    }

    public String getDh() {
        return dh;
    }

    public void setDh(String dh) {
        this.dh = dh;
    }

    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    public String getKhh() {
        return khh;
    }

    public void setKhh(String khh) {
        this.khh = khh;
    }

    public String getDhqk() {
        return dhqk;
    }

    public void setDhqk(String dhqk) {
        this.dhqk = dhqk;
    }

    public String getWdhqk() {
        return wdhqk;
    }

    public void setWdhqk(String wdhqk) {
        this.wdhqk = wdhqk;
    }

    public String getJsr1() {
        return jsr1;
    }

    public void setJsr1(String jsr1) {
        this.jsr1 = jsr1;
    }

    public String getDpqk() {
        return dpqk;
    }

    public void setDpqk(String dpqk) {
        this.dpqk = dpqk;
    }

    public String getWdpqk() {
        return wdpqk;
    }

    public void setWdpqk(String wdpqk) {
        this.wdpqk = wdpqk;
    }

    public String getJsr2() {
        return jsr2;
    }

    public void setJsr2(String jsr2) {
        this.jsr2 = jsr2;
    }

    public String getCgyhmc() {
        return cgyhmc;
    }

    public void setCgyhmc(String cgyhmc) {
        this.cgyhmc = cgyhmc;
    }

    public String getJg() {
        return jg;
    }

    public void setJg(String jg) {
        this.jg = jg;
    }

    public String getDdh() {
        return ddh;
    }

    public void setDdh(String ddh) {
        this.ddh = ddh;
    }

    public String getDhsj() {
        return dhsj;
    }

    public void setDhsj(String dhsj) {
        this.dhsj = dhsj;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getDhfs() {
        return dhfs;
    }

    public void setDhfs(String dhfs) {
        this.dhfs = dhfs;
    }

    public String getFkfs() {
        return fkfs;
    }

    public void setFkfs(String fkfs) {
        this.fkfs = fkfs;
    }

    public String getZlcn() {
        return zlcn;
    }

    public void setZlcn(String zlcn) {
        this.zlcn = zlcn;
    }

    public String getYfys() {
        return yfys;
    }

    public void setYfys(String yfys) {
        this.yfys = yfys;
    }

    public String getRkdd() {
        return rkdd;
    }

    public void setRkdd(String rkdd) {
        this.rkdd = rkdd;
    }

    public String getThdh() {
        return thdh;
    }

    public void setThdh(String thdh) {
        this.thdh = thdh;
    }

    public String getYwcl() {
        return ywcl;
    }

    public void setYwcl(String ywcl) {
        this.ywcl = ywcl;
    }

    public String getWtcl() {
        return wtcl;
    }

    public void setWtcl(String wtcl) {
        this.wtcl = wtcl;
    }

    public String getFpqk() {
        return fpqk;
    }

    public void setFpqk(String fpqk) {
        this.fpqk = fpqk;
    }

    public String getBl1() {
        return bl1;
    }

    public void setBl1(String bl1) {
        this.bl1 = bl1;
    }

    public String getBl2() {
        return bl2;
    }

    public void setBl2(String bl2) {
        this.bl2 = bl2;
    }

    public String getBl3() {
        return bl3;
    }

    public void setBl3(String bl3) {
        this.bl3 = bl3;
    }

    public String getBl4() {
        return bl4;
    }

    public void setBl4(String bl4) {
        this.bl4 = bl4;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "Product{" +
        ", id=" + id +
        ", xh=" + xh +
        ", dhrq=" + dhrq +
        ", xhao=" + xhao +
        ", spmc=" + spmc +
        ", jj=" + jj +
        ", sl=" + sl +
        ", je=" + je +
        ", zje=" + zje +
        ", dj=" + dj +
        ", yfk=" + yfk +
        ", wfk=" + wfk +
        ", ghsmc=" + ghsmc +
        ", lxr=" + lxr +
        ", dh=" + dh +
        ", cz=" + cz +
        ", khh=" + khh +
        ", dhqk=" + dhqk +
        ", wdhqk=" + wdhqk +
        ", jsr1=" + jsr1 +
        ", dpqk=" + dpqk +
        ", wdpqk=" + wdpqk +
        ", jsr2=" + jsr2 +
        ", cgyhmc=" + cgyhmc +
        ", jg=" + jg +
        ", ddh=" + ddh +
        ", dhsj=" + dhsj +
        ", bz=" + bz +
        ", dhfs=" + dhfs +
        ", fkfs=" + fkfs +
        ", zlcn=" + zlcn +
        ", yfys=" + yfys +
        ", rkdd=" + rkdd +
        ", thdh=" + thdh +
        ", ywcl=" + ywcl +
        ", wtcl=" + wtcl +
        ", fpqk=" + fpqk +
        ", bl1=" + bl1 +
        ", bl2=" + bl2 +
        ", bl3=" + bl3 +
        ", bl4=" + bl4 +
        "}";
    }






}
